package com.blindBox.back.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 大忽悠
 * @since 2021-11-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Manager implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 管理员名字
     */
    @TableField("m_name")
    private String mName;

    /**
     * 管理员密码
     */
    @TableField("m_pwd")
    private String mPwd;

    @TableField(fill = FieldFill.INSERT,value = "create_time")
     private LocalDateTime createTime;
}
